package projet;
/**
 * Custom exception, use to send error msg
 * 
 * @author CORSINI Pierre, Cyril CHANDELIER, Sylvain BRUN
 * @version January 25, 2010
 */
public class CustomException extends Exception
{
	private static final long	serialVersionUID	= 1L;

	/**
	 * @param s
	 *            The message
	 */
	public CustomException(String s)
	{
		super(s);
	}

	/**
	 * Displays the event's message (err)
	 */
	public void display()
	{
		Tools.printerr(this.getMessage());
	}
}
